package entity;

import java.io.Serializable;
import java.util.List;

/**
 * ClassName:Category
 * Package:entity
 *
 * @date:2021/10/28 6:51 下午
 * @author: Tiangle
 */
public class Category implements Serializable {
    private int cid;
    private String cname;

    List<Product> ps;

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    @Override
    public String toString() {
        return "Category{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", ps=" + ps +
                '}';
    }
}
